home *** CD-ROM | disk | FTP | other *** search
/ Aminet 15 / Aminet 15 - Nov 1996.iso / Aminet / disk / misc / AGMSSetSCSI.lha / Story.txt < prev    next >
Text File  |  1996-09-26  |  4KB  |  71 lines

  1. The last few days of system upgrading have been quite frustrating, with
  2. late nights and unsolved problems.  It all started when I got a CPU
  3. upgrade for my Amiga A2000 (originally got the A2000 on July 4, 1987),
  4. from a Motorola 68000 CPU running at 8 megahertz to a 68030/25 (of
  5. course, the latest one is the 68060, but all I needed was enough speed
  6. for running GNU C (and later SAS C) fast enough to avoid extreme
  7. boredom, and anyway I'll be switching to a BeBox in the future).  As a
  8. bonus, the new CPU board comes with a couple of SIMM memory slots, one
  9. of which I filled with an amazingly cheap ($150) 16 megabyte SIMM.
  10.  
  11. Sure, most operations were faster, but disk access speeds dropped to
  12. 50K/s from 600K/s because my trusty 2091 SCSI controller could only
  13. write to the older memory on the system bus, not into the higher ranges
  14. where the new CPU's associated memory exists (only the hardware on the
  15. new CPU board can access it).  So, the OS transfers a sector at a time
  16. into the old memory then copies the data to the final destination
  17. (thankfully it has enough smarts to work in this situation).  Yes, one
  18. sector at a time, thus making it very slow.
  19.  
  20. I found a few software patches that let the OS write more than one
  21. sector at a time, which speeded things up to a large fraction of the
  22. original speed.  Still, the CPU board manufacturers had thought of this
  23. problem and had put a SCSI-2 controller on the board (as well as the
  24. CPU, memory, and an FPU).  Great!  I moved my 1G Quantum Fireball hard
  25. drive from the 2091 card over to a drive bay near the new CPU card (so
  26. that the cables would reach, bumping out my oldest floppy drive) and
  27. hooked it up.  The drive spun up, made a few clunking noises, and spun
  28. down, then kept on flashing its little light.  Not good.
  29.  
  30. Thinking it was something that could be fixed by a jumper change, I got
  31. lucky and found http://www.quantum.com/products/manuals/, a web page
  32. with detailed manuals on many of Quantum's drives.  The Fireball was
  33. there, including pictures and jumper settings, and even an explanation
  34. of all the SCSI commands that it understands.  Well, I found out about
  35. the termination jumper, but that didn't help.  All the rest of the
  36. settings were only software programmable (by setting SCSI Mode Page
  37. values).  I looked through the settings, looking for a plausable one
  38. that would fix everything.  I found a suspicious SCSI Plug-and-play
  39. setting that was turned on by default.  Maybe that would fix it.
  40.  
  41. Off to Aminet, for a SCSI configuration program.  I found lots of
  42. programs for reading SCSI parameters, but none for setting them.  A
  43. couple of weeks later, and a switch from GNU to SAS C (picked up cheap
  44. in a closeout sale) I had written AGMSSetSCSI, a program which reads the
  45. current SCSI Mode Page settings, edits them, and writes them back.  To
  46. make a long night short (the one where I stayed up until 4am :-), I
  47. finally found out that I had to turn off the Plug-and-play feature and a
  48. turn off a disconnect while doing IO feature (this involved many rounds
  49. of plugging the drive into the 2091, changing parameters, plugging it
  50. into the new CPU board controller, testing).
  51.  
  52. The drive finally showed up in the new board's drive formatting
  53. software.  Unfortunately, attempts to partition were forgotten after a
  54. reboot.  Something was still wrong.  A bit more fidding around revealed
  55. that the SCSI controller was running faster than the drive, so it got
  56. errors while reading the boot information.  Fortunately there was
  57. software to slow it down.  Now how do you run the slow-down software
  58. before it boots up so it can boot up?  Well, you normally can't, unless
  59. you boot from a floppy disk, which is what I ended up doing.  After a
  60. few more tweaks of the startup sequence, and resetting the don't
  61. disconnect during IO feature (it only needs the plug-and-play
  62. adjustment) I got it working perfectly.
  63.  
  64. Well, it ended happily.  Now I get 1110M/s reading and writing speed
  65. from the Fireball and I can tweak the other SCSI parmeters with my new
  66. software (things like power down when idle, cache control).
  67.  
  68. Now back to the virtual file system project...
  69.  
  70. - Alex
  71.